'''
Created on Aug 13, 2013

@author: Cihat Basol
'''


import os
import time
import helper


from dexen.common.constants import ENV_JOB_NAME, ENV_USER_NAME, ENV_EXECUTION_ID

from dexen.common import data_api


def main():
    helper.echo("\nHELLO WORLD!")
    time.sleep(5)
    print "Job Name is: ", os.environ[ENV_JOB_NAME]
    print "User Name is: ", os.environ[ENV_USER_NAME]
    print "Execution id: ", os.environ[ENV_EXECUTION_ID]
    
    # creates a new data object
    do = data_api.DataObject("ind_1")
    do.set_value("genotype", "blob")


if __name__ == '__main__':
    main()
